#include<stdio.h>
#include <unistd.h>
#include<string.h>
#include"process.h"

double total=1024.0;
double speed=1.0;

void DownLoad()
{
    double current=0;
    while(current<=total)
    {
        FlushProcess(total,current);
        current+=speed;
        usleep(5000);
    }
    printf("\n");
}

int main()
{
    //process();
    DownLoad();
    return 0;
}
